//
//  CheckCollectionCell.m
//  ICrEAM
//
//  Created by mac on 16/11/11.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "CheckCollectionCell.h"

@implementation CheckCollectionCell
- (IBAction)deleteClick:(id)sender {
    
    [[NSNotificationCenter defaultCenter] postNotificationName:@"deleteImgeNotice" object:nil userInfo:@{@"index":self.indexpath}];
    if (self.deleteBlock) {
        self.deleteBlock(self.indexpath);
    }
    
}
-(void)dealloc{
    [[NSNotificationCenter defaultCenter] removeObserver:self];
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

@end
